import { PdfComponentProps } from "../types";
import { Image, ImageProps } from '@react-pdf/renderer';
export type PdfImageProps = PdfComponentProps & ImageProps
export const PdfImage = (props: PdfImageProps) => {
    const {  value, ...imageProps } = props;
    return <>{value && <Image src={value} {...imageProps} />}</>
}
